package com.njtoyo.taxi.admin.service.business.operation_rule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.njtoyo.taxi.admin.rest.presenter.business.operation_rule.RideCancelRulePresenter;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;

public interface RideCancelRuleService {
    RestResult<IPage<RideCancelRulePresenter>> page(AdminUser adminUser,Integer current, Integer size, Long driverRegionId);

    RestResult add(RideCancelRulePresenter rideCancelRulePresenter);

    RestResult update(RideCancelRulePresenter rideCancelRulePresenter);
}
